import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import ImagePreview from '../views/ImagePreview.vue'
import AboutView from '../views/AboutView.vue'
import WorkflowView from '../views/WorkflowView.vue'
import StatisticsView from '../views/StatisticsView.vue'
import LungHealthView from '../views/LungHealthView.vue'
import NiftiSlicerView from '../views/NiftiSlicerView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/image-preview',
      name: 'image-preview',
      component: ImagePreview
    },
    {
      path: '/about',
      name: 'about',
      component: AboutView
    },
    {
      path: '/workflow',
      name: 'workflow',
      component: WorkflowView
    },
    {
      path: '/statistics',
      name: 'statistics',
      component: StatisticsView
    },
    {
      path: '/lung-health',
      name: 'lung-health',
      component: LungHealthView
    },
    {
      path: '/nifti-slicer',
      name: 'nifti-slicer',
      component: NiftiSlicerView
    }
  ]
})

export default router
